package com.sen.patterns.creational.factory.ex4;

import java.awt.Point;

/**
 * 直线
 * @author sen
 */
public class Line implements Shape {
	
	Point x, y;
	
	public Line(Point x, Point y) {
		this.x = x;
		this.y = y;
	}
	
	public void draw() {
		System.out.println("draw a line");
	}

}
